package com.changgou.business.pojo;

import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;


/**
 * 商品秒杀表
 */
@Table(name="tb_seconds")
public class Seconds implements Serializable {

    @Id
    private Integer id; //主键

    private String serialnumber;           //编号
    private String goodsName;               //商品名称
    private String articleNumber;          //货号
    private Integer price;                  //商品价格
    private Integer secondsPrice;          //秒杀价格
    private Integer secondNumber  ;        //秒杀数量
   private  Integer  residualsNumber;      //剩余数量
   private  Integer  purchaseNumber;       //限购数量
   private  Integer sort ;                  //排序
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getSerialnumber() {
        return serialnumber;
    }

    public void setSerialnumber(String serialnumber) {
        this.serialnumber = serialnumber;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public String getArticleNumber() {
        return articleNumber;
    }

    public void setArticleNumber(String articleNumber) {
        this.articleNumber = articleNumber;
    }

    public Integer getPrice() {
        return price;
    }

    public void setPrice(Integer price) {
        this.price = price;
    }

    public Integer getSecondsPrice() {
        return secondsPrice;
    }

    public void setSecondsPrice(Integer secondsPrice) {
        this.secondsPrice = secondsPrice;
    }

    public Integer getSecondNumber() {
        return secondNumber;
    }

    public void setSecondNumber(Integer secondNumber) {
        this.secondNumber = secondNumber;
    }

    public Integer getResidualsNumber() {
        return residualsNumber;
    }

    public void setResidualsNumber(Integer residualsNumber) {
        this.residualsNumber = residualsNumber;
    }

    public Integer getPurchaseNumber() {
        return purchaseNumber;
    }

    public void setPurchaseNumber(Integer purchaseNumber) {
        this.purchaseNumber = purchaseNumber;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

}
